<template>
	<div class="my_main">
		<div class="my_header">
			<mu-appbar :title="infoType" titleClass="titleClass">
				<mu-icon-button icon="chevron_left" slot="left" @click="goBack"/>
			</mu-appbar>
		</div>
		<div class="my_body">
			<router-view/>
		</div>
	</div>
</template>

<script>
export default{
	data(){
		return {
			infoType: this.$store.state.infoType || '个人信息'
		}
	},
	methods: {
		goBack(){
			this.$router.go(-1);
			this.$store.commit('setBottomNav', 'member');
		}
	}
}
</script>